var TokenTypeEnum = {
    TOKEN_ADVANCE: 11001,
    TOKEN_PICK: 11002,
    TOKEN_THROW: 11003,
    TOKEN_TURN_LEFT: 11004,
    TOKEN_TURN_RIGHT: 11005,
    TOKEN_LEAP: 11006,
    TOKEN_FUNC: 11007,
    TOKEN_FUNC2: 11008,
    properties: {
        11001: { name: "前进", value: 11001, str: "TOKEN_ADVANCE" },
        11002: { name: "捡起", value: 11002, str: "TOKEN_PICK" },
        11003: { name: "扔掉", value: 11003, str: "TOKEN_THROW" },
        11004: { name: "左转", value: 11004, str: "TOKEN_TURN_LEFT" },
        11005: { name: "右转", value: 11005, str: "TOKEN_TURN_RIGHT" },
        11006: { name: "跳跃", value: 11006, str: "TOKEN_LEAP" },
        11007: { name: "函数", value: 11007, str: "TOKEN_FUNC" },
        11007: { name: "函数2", value: 11008, str: "TOKEN_FUNC2" },
    }
};
var DirEnum = {
    DIR_COUNT: 4,
    DIR_DEFAULT: 12000,
    DIR_RIGHT: 12001,  // X ++
    DIR_DOWN: 12002,  // Y ++
    DIR_LEFT: 12003,
    DIR_UP: 12004
};

var GameEnum = {
    TokenTypeEnum : TokenTypeEnum,   
    DirEnum : DirEnum,
}; 

module.exports = GameEnum; 